// PAGE1.cpp : implementation file
//

#include "stdafx.h"
#include "GameDll.h"
#include "PAGE1.h"
#include "gameproc.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CPAGE1 dialog


CPAGE1::CPAGE1(CWnd* pParent /*=NULL*/)
	: CDialog(CPAGE1::IDD, pParent)
{
	//{{AFX_DATA_INIT(CPAGE1)
		// NOTE: the ClassWizard will add member initialization here
	//}}AFX_DATA_INIT
}


void CPAGE1::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CPAGE1)
		// NOTE: the ClassWizard will add DDX and DDV calls here
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CPAGE1, CDialog)
	//{{AFX_MSG_MAP(CPAGE1)
	ON_BN_CLICKED(IDC_BUTTON_PICKGOODS, OnButtonPickgoods)
	ON_BN_CLICKED(IDC_BTN_F2, OnBtnF2)
	ON_BN_CLICKED(IDC_BTN_F1, OnBtnF1)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CPAGE1 message handlers

void CPAGE1::OnButtonPickgoods() 
{
	// TODO: Add your control notification handler code here
	PickGoods();
}

void CPAGE1::OnBtnF2() 
{
	// TODO: Add your control notification handler code here
	F1_F10(2);
}

void CPAGE1::OnBtnF1() 
{
	// TODO: Add your control notification handler code here
	F1_F10(1);
}
